package com.lxmes.hr.service;

import java.util.List;
import com.lxmes.hr.domain.NcAttendAbnormal;

/**
 * 考勤异常Service接口
 *
 * @author lx
 * @date 2023-04-06
 */
public interface INcAttendAbnormalService
{
    /**
     * 查询考勤异常
     *
     * @param id 考勤异常主键
     * @return 考勤异常
     */
    public NcAttendAbnormal selectNcAttendAbnormalById(Long id);

    /**
     * 查询考勤异常列表
     *
     * @param ncAttendAbnormal 考勤异常
     * @return 考勤异常集合
     */
    public List<NcAttendAbnormal> selectNcAttendAbnormalList(NcAttendAbnormal ncAttendAbnormal);

    /**
     * 新增考勤异常
     *
     * @param ncAttendAbnormal 考勤异常
     * @return 结果
     */
    public int insertNcAttendAbnormal(NcAttendAbnormal ncAttendAbnormal);

    /**
     * 修改考勤异常
     *
     * @param ncAttendAbnormal 考勤异常
     * @return 结果
     */
    public int updateNcAttendAbnormal(NcAttendAbnormal ncAttendAbnormal);

    /**
     * 批量删除考勤异常
     *
     * @param ids 需要删除的考勤异常主键集合
     * @return 结果
     */
    public int deleteNcAttendAbnormalByIds(Long[] ids);

    /**
     * 删除考勤异常信息
     *
     * @param id 考勤异常主键
     * @return 结果
     */
    public int deleteNcAttendAbnormalById(Long id);

    /**
     * 导入考勤异常信息
     *
     * @return 结果
     */
    String imporIteminfo(List<NcAttendAbnormal> ncAttendAbnormalList, boolean updateSupport, String operName);

    int approvalAttAb(NcAttendAbnormal ncAttendAbnormal);
}
